package com.melody.mapper;

import com.melody.entry.MusicCount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author zxz
* @description 针对表【music_count(歌曲点击量)】的数据库操作Mapper
* @createDate 2025-05-09 10:31:17
* @Entity com.melody.entry.MusicCount
*/
public interface MusicCountMapper extends BaseMapper<MusicCount> {

    @Select("SELECT * FROM music_count ORDER BY click_count DESC")
    List<MusicCount> selectMusicCountByClickCountDesc();
}




